import { Get_Home,Add_Home,Editor_Home,Editor_home,Search_Home } from "../actionsType";

const Home = {
    getHome: (data) => {
        return {
            type: Get_Home,
            payload: data,
        }
    },
    searchHome: (data) => {
        return {
            type: Search_Home,
            payload: data,
        }
    },
    addHome: (data) => {
        return {
            type: Add_Home,
            payload: data,
        }
    },
    editorHome: (data) => {
        return {
            type: Editor_Home,
            payload: data,
        }
    },
    editor: (data) => {
        return {
            type: Editor_home,
            payload: data,
        }
    },
}

export default Home